Skip to content

Conversation

@abh1sar
Copy link
Collaborator

@abh1sar abh1sar commented Nov 7, 2025

Description

This PR fixes #11928

  1. Display time in human readable format
  2. Disable the interval for which a schedule is already created as one interval can only have one schedule.

The behaviour is similar to the Create Recurring Snapshots UI.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

Screen.Recording.2025-11-07.at.9.49.10.AM.mov

How did you try to break this feature and the system with this change?

@codecov
Copy link

codecov bot commented Nov 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.56%. Comparing base (ac8c200) to head (982298e).
⚠️ Report is 42 commits behind head on 4.22.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.22   #12012      +/-   ##
============================================
- Coverage     17.56%   17.56%   -0.01%     
- Complexity    15544    15545       +1     
============================================
  Files          5909     5910       +1     
  Lines        529059   529208     +149     
  Branches      64617    64661      +44     
============================================
- Hits          92941    92940       -1     
- Misses       425664   425810     +146     
- Partials      10454    10458       +4     
Flag Coverage Δ
uitests 3.58% <ø> (-0.01%) ⬇️
unittests 18.63% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@DaanHoogland DaanHoogland linked an issue Nov 7, 2025 that may be closed by this pull request
@DaanHoogland
Copy link
Contributor

@blueorangutan ui

@blueorangutan
Copy link

@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/12012 (QA-JID-792)

@abh1sar
Copy link
Collaborator Author

abh1sar commented Nov 7, 2025

@blueorangutan ui

@blueorangutan
Copy link

@abh1sar a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/12012 (QA-JID-793)

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm

@RosiKyu
Copy link
Collaborator

RosiKyu commented Dec 10, 2025

@blueorangutan ui

@blueorangutan
Copy link

@rosi-shapeblue a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/12012 (QA-JID-828)

@RosiKyu
Copy link
Collaborator

RosiKyu commented Dec 10, 2025

@blueorangutan package

@blueorangutan
Copy link

@rosi-shapeblue a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@RosiKyu
Copy link
Collaborator

RosiKyu commented Dec 10, 2025

@blueorangutan package

@blueorangutan
Copy link

@rosi-shapeblue a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15985

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15984

Copy link
Collaborator

@RosiKyu RosiKyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@abh1sar overall the main issue has been addressed. However, I tested a flow in which the form breaks:

Steps to Reproduce

  1. Create scheduled backups for all schedule types.
  2. Delete the Daily scheduled backup.
  3. Navigate to Schedule -> the displayed tab is Daily, but the Time selection shown is for Hourly backups.
  4. Fill in the form and attempt to create a new Daily scheduled backup.
  5. Open the Scheduled Backups tab -> observe that the existing Hourly backup settings are overwritten.
  6. Delete the Hourly scheduled backup
  7. Recreate it
  8. Try adding a new Daily scheduled backup -> the displayed tab is Daily, but the Time selection shown is for Hourly backups.
Screencast.from.2025-12-11.13-49-34.webm

@RosiKyu RosiKyu removed their assignment Dec 11, 2025
@abh1sar
Copy link
Collaborator Author

abh1sar commented Dec 16, 2025

@blueorangutan ui

@blueorangutan
Copy link

@abh1sar a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/12012 (QA-JID-830)

@abh1sar
Copy link
Collaborator Author

abh1sar commented Dec 16, 2025

Thanks for testing @RosiKyu
I have fixed the issue. Same issue was present in Scheduled volume snapshot as well. I have fixed it there as well.
It would be great if you could take a look at that also.

@RosiKyu
Copy link
Collaborator

RosiKyu commented Dec 16, 2025

@blueorangutan package

@blueorangutan
Copy link

@RosiKyu a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16063

Copy link
Collaborator

@RosiKyu RosiKyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thank you for addressing this, @abh1sar ! Works flawlessly now

Screencast.from.2025-12-17.15-39-23.webm

@DaanHoogland DaanHoogland merged commit e9900ab into apache:4.22 Dec 17, 2025
25 of 26 checks passed
@DaanHoogland DaanHoogland deleted the backup-schedule-ui branch December 17, 2025 13:47
DaanHoogland pushed a commit that referenced this pull request Dec 22, 2025
* 4.22:
  Update templateConfig.sh to not break with directorys with space on t… (#10898)
  Fix VM and volume metrics listing regressions (#12284)
  packaging: use latest cmk release link directly (#11429)
  api:rename RegisterCmd.java => RegisterUserKeyCmd.java (#12259)
  Prioritize copying templates from other secondary storages instead of downloading them (#10363)
  Show time correctly in the backup schedule UI  (#12012)
  kvm: use preallocation option for fat disk resize (#11986)
  Python exception processing static routes fixed (#11967)
  KVM memballooning requires free page reporting and autodeflate (#11932)
  api: create/register/upload template with empty template tag (#12234)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configured backup time not reflected accurately in UI

4 participants